﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Msg
{
    public class Log
    {
        private static ILogger logger;
        private static object logLockObj = new object();
        public static ILogger GetLog
        {
            get
            {
                if (logger == null)
                {
                    lock (logLockObj)
                    {
                        if (logger == null)
                        {
                            logger = new Msg.Logger();
                        }
                    }
                }
                return logger;
            }
        }
    }
}
